﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;

namespace D2KPlusLauncher
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            ProcessStartInfo startInfo = new ProcessStartInfo();
            startInfo.WorkingDirectory = @"CampaignMapEditorV0.3\";
            startInfo.FileName = @"D2kEditor.exe";
            Process.Start(startInfo);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            Process.Start(@"MissionEditorV0.3\MissionEditorV0.3.exe");
        }

        private void button3_Click(object sender, EventArgs e)
        {
            Process.Start(@"UIBEditorV0.1\UIBEditorV0.1.exe");
        }

        private void button4_Click(object sender, EventArgs e)
        {
            Process.Start(@"TileSetEditorV0.1\TileSetEditorV0.1.exe");
        }

        private void button5_Click(object sender, EventArgs e)
        {
            Process.Start(@"UILEditorV0.1\UILEditorV0.1.exe");
        }

        private void toolStripStatusLabel2_Click(object sender, EventArgs e)
        {
            System.Diagnostics.Process.Start("www.mvinetwork.co.uk/dune"); 
        }
    }
}
